package uutalk.netcloud.talk.base.util;

import java.util.regex.Pattern;

/**
 * Created by hujie on 16/8/9.
 */
public class RegularUtil {


    public final static Pattern phonePattern = Pattern.compile("^1[3|4|5|7|8]\\d{9}$");


    public static boolean isPhoneNum(String phoneNum) {
        return phonePattern.matcher(phoneNum).matches();
    }
}
